<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php if (!empty($q)) echo "搜索：" . strip_tags($q) . " - "; ?>Zhibiao2015 搜索</title>
<meta http-equiv="keywords" content="商标 查询 检索 商标查询 商标检索 商标申请 商标注册 检索商标 查询商标 申请商标 注册商标" />
<meta http-equiv="description" content="知标网商标查询" />
<script type="application/x-javascript">
 addEventListener("load", function()
 { setTimeout(hideURLbar, 0);
 }, false);
 function hideURLbar(){
	 window.scrollTo(0,1);
	 }
</script>
<link href="css/bootstrap-3.1.1.min.css" rel='stylesheet' type='text/css' />
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- Custom Theme files -->
<link href="css/style.css" rel='stylesheet' type='text/css' />
<link rel="stylesheet" href="css/jquery.countdown.css" />
<!----font-Awesome----->
<link href="css/font-awesome.css" rel="stylesheet">
<!----font-Awesome----->
<script src="js/jquery-1.js"></script>
<script src="js/labelauty.js"></script>
<script>
$(document).ready(function(){
    $(".dropdown").hover(
        function() {
            $('.dropdown-menu', this).stop( true, true ).slideDown("fast");
            $(this).toggleClass('open');
        },
        function() {
            $('.dropdown-menu', this).stop( true, true ).slideUp("fast");
            $(this).toggleClass('open');
        }
    );
});
</script>
<style>
.rdolist, .chklist {
    display: none;
}

.rdobox, .chkbox {
    display: inline-block;
	padding: 10px;
	height: 35px;
    line-height: 16px;
    background: #eee;
    border-radius: 3px;
    color: #666;
    font-family: 'Microsoft YaHei';
}

.check-image {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-top: -4px;
    background: url(images/input-unchecked.png) no-repeat;
    vertical-align: middle;
}

.unchecked {
    background: #ECF0F1;
    color: #666;
    transition-property: background;
    transition-delay: 0s;
    transition-duration: .1s;
    transition-timing-function: linear;
}

    .unchecked:hover {
        background: #dedfe0;
    }

.checked {
    background: #3498DB;
    color: #fff;
}




</style>
    <script>

        $(document).ready(function () {

            //参数{input类名，选择类型(单选or多选)}

            $(".rdolist").labelauty("rdolist", "rdo");

            $(".chklist").labelauty("chklist", "check");

        });

    </script>
<!----Calender -------->
  <link rel="stylesheet" href="css/clndr.css" type="text/css" />
  <script src="js/underscore-min.js" type="text/javascript"></script>
  <script src= "js/moment-2.2.1.js" type="text/javascript"></script>
  <script src="js/clndr.js" type="text/javascript"></script>
  <script src="js/site.js" type="text/javascript"></script>
<!----End Calender -------->
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
	<div class="container">
	    <div class="navbar-header">
	        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
		        <span class="sr-only">知标网</span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
	        </button>
	         <a class="navbar-brand" href="../index.php"><!--<img src="img/logo.jpg" />-->知标网</a>
	    </div>
	    <!--/.navbar-header-->
	    <div class="navbar-collapse collapse" id="bs-example-navbar-collapse-1" style="height: 1px;">
	        <ul class="nav navbar-nav">
		        <li class="dropdown">
		            <a href="index.php" target="_blank"><i class="fa fa-user"></i><span>login</span></a>
		        </li>
		        <li class="dropdown">
		        	<!-- <a href="#" class="dropdown-toggle" data-toggle="dropdown"> -->
					<a href="http://www.knowtm.com" target="_blank"><i class="fa fa-list"></i><span>图形检索</span></a>
		        	   <!-- <ul class="dropdown-menu">
			            <li><a href="courses.html">Courses Categories</a></li>
			            <li><a href="courses.html">Courses list</a></li>
			            <li><a href="courses.html">Courses detail</a></li>
		              </ul> -->
		        </li>
		        <li class="dropdown">
		            <a href="http://open.knowtm.com" target="_blank"><i class="fa fa-calendar"></i><span>开放计划</span></a>

		        </li>
		        <li class="dropdown">
		            <a href="http://demo.knowtm.com/" target="_blank"><i class="fa fa-globe"></i><span>电商demo</span></a>

		        </li>
		        <!--<li class="dropdown">
		            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-search"></i><span>商标查询</span></a>
		            <ul class="dropdown-menu search-form">
			           <form>
                            <input type="text" class="search-text" name="s" placeholder="Search...">
                            <button type="submit" class="search-submit"><i class="fa fa-search"></i></button>
                       </form>
			        </ul>
		        </li>-->
		     </ul>
	    </div>
	    <div class="clearfix"> </div>
	  </div>
	    <!--/.navbar-collapse-->
</nav>

<!-- banner -->
 <form class="form-search" id="q-form" method="get" action="/">
  <div class="courses_banner">
  	<div class="container">
     	<div class="container">
			<div class="newsletter">

				<input type="text" name="q" value="<?php echo htmlspecialchars($q); ?>" size="30" required="" placeholder="输入任意关键词皆可搜索">
				<input type="submit" value="搜索">

            </div>
        </div>
		<div class="col-md-12" style="padding-top: 20px;">
        <div class="condition" id="q-options">
		<div class="col-md-1"></div>
		<div class="col-md-8">

			<div class="rdo">
				<input  class="rdolist" type="radio" name="f" value="name" <?php echo $f_name; ?> />
				<label  class="rdobox checked">
				<span style="background: transparent url(&quot;images/input-checked.png&quot;) repeat scroll 0% 0%;" class="check-image"></span>
				<span class="radiobox-content">name</span>
				</label>
				<input class="rdolist" type="radio" name="f" value="cid" <?php echo $f_cid; ?> />
				<label class="rdobox checked">
				<span style="background: transparent url(&quot;images/input-checked.png&quot;) repeat scroll 0% 0%;" class="check-image"></span>
				<span class="radiobox-content">cid</span>
				</label>

				<!--<label class="radio inline"><input type="radio" name="f" value="day" <?php echo $f_day; ?> />Day</label>
				<label class="radio inline"><input type="radio" name="f" value="service" <?php echo $f_service; ?> />Service</label>-->
				<input class="rdolist" type="radio" name="f" value="cnname" <?php echo $f_cnname; ?> />
				<label class="rdobox checked">
				<span style="background: transparent url(&quot;images/input-checked.png&quot;) repeat scroll 0% 0%;" class="check-image"></span>
				<span class="radiobox-content">cnname</span>
				</label>
				<!--<label class="radio inline"><input type="radio" name="f" value="cnaddress" <?php echo $f_cnaddress; ?> />Cnaddress</label>
				<label class="radio inline"><input type="radio" name="f" value="enname" <?php echo $f_enname; ?> />Enname</label>
				<label class="radio inline"><input type="radio" name="f" value="enaddress" <?php echo $f_enaddress; ?> />Enaddress</label>-->
				<input class="rdolist" type="radio" name="f" value="servicecomany" <?php echo $f_servicecomany; ?> />
				<label class="rdobox checked">
				<span style="background: transparent url(&quot;images/input-checked.png&quot;) repeat scroll 0% 0%;" class="check-image"></span>
				<span class="radiobox-content">servicecomany</span>
				</label>
				<!--<label class="radio inline"><input type="radio" name="f" value="shenqingdate" <?php echo $f_shenqingdate; ?> />Shenqingdate</label>
				<label class="radio inline"><input type="radio" name="f" value="datano" <?php echo $f_datano; ?> />Datano</label>
				<label class="radio inline"><input type="radio" name="f" value="chushenno" <?php echo $f_chushenno; ?> />Chushenno</label>
				<label class="radio inline"><input type="radio" name="f" value="threeyeardate" <?php echo $f_threeyeardate; ?> />Threeyeardate</label>
				<label class="radio inline"><input type="radio" name="f" value="enddate" <?php echo $f_enddate; ?> />Enddate</label>
				<label class="radio inline"><input type="radio" name="f" value="trends" <?php echo $f_trends; ?> />Trends</label>-->
				<input class="rdolist" type="radio" name="f" value="_all" <?php echo $f__all; ?> />
				<label class="rdobox checked">
				<span style="background: transparent url(&quot;images/input-checked.png&quot;) repeat scroll 0% 0%;" class="check-image"></span>
				<span class="radiobox-content">全文</span>
				</label>

				<input class="chklist" type="checkbox" name="m" value="yes" <?php echo $m_check; ?> />
				<label class="chkbox checkeds">
				<span style="background: transparent url(&quot;images/input-checked.png&quot;) repeat scroll 0% 0%;" class="check-image"></span>
				<span class="radiobox-content">模糊搜索</span>
				</label>

				<input class="chklist" type="checkbox" name="syn" value="yes" <?php echo $syn_check; ?> />
				<label class="chkbox checkeds">
				<span style="background: transparent url(&quot;images/input-checked.png&quot;) repeat scroll 0% 0%;" class="check-image"></span>
				<span class="radiobox-content">同义词</span>
				</label>
			 </div>

		  </div>
		  <div class="col-md-2">
          <select name="s" size="1">
            <option value="relevance">相关性</option>
			<option value="cid_DESC" <?php echo $s_cid_DESC; ?>>Cid从大到小</option>
					<option value="cid_ASC" <?php echo $s_cid_ASC; ?>>Cid从小到大</option>
					<option value="class_DESC" <?php echo $s_class_DESC; ?>>Class从大到小</option>
					<option value="class_ASC" <?php echo $s_class_ASC; ?>>Class从小到大</option>
					<option value="datano_DESC" <?php echo $s_datano_DESC; ?>>Datano从大到小</option>
					<option value="datano_ASC" <?php echo $s_datano_ASC; ?>>Datano从小到大</option>
					<option value="chushenno_DESC" <?php echo $s_chushenno_DESC; ?>>Chushenno从大到小</option>
					<option value="chushenno_ASC" <?php echo $s_chushenno_ASC; ?>>Chushenno从小到大</option>
					<option value="threeyeardate_DESC" <?php echo $s_threeyeardate_DESC; ?>>Threeyeardate从大到小</option>
					<option value="threeyeardate_ASC" <?php echo $s_threeyeardate_ASC; ?>>Threeyeardate从小到大</option>
          </select>
          </div>
		</div>
	</div>
	</div>
</div>
</form>

<!-- banner -->

<?php
$id = $_GET['id'];
$server_name="121.40.158.63";
$username="root";
$passwd = "jianghong0906";
$dbname="webauth";
$conn = mysql_connect($server_name, $username, $passwd);
if(!$conn) echo "error open db";
mysql_select_db($dbname, $conn);
mysql_query("SET NAMES utf8");
$strsql = "SELECT * FROM tmsearch WHERE id=".$id;
$result = mysql_query($strsql, $conn);
if(!$result) {die("valid result....");}
$row = mysql_fetch_row($result);

?>
<!--<?php echo $row[0]; ?>-->
	<div class="courses_box1">
	   <div class="container">
		<div class="col-md-12">
			<div class="course_list">
                <div class="table-header clearfix">
                	<div class="id_col">基本信息</div>
                	<div class="name_col"></div>
                    <div class="duration_col"></div>
                    <div class="date_col"></div>
    			</div>
                <ul class="table-list">
                    <li class="clearfix" style="background-color: #fff;">
    					<div class="id_col" style="color:#000;">商标图样</div>

        				<div class="name_col"> <img src="<?php echo $row[26]; ?>"  height="106px"></div>

    				</li>

    				<li class="clearfix">
    					<div class="id_col">商标名称</div>

        				<div class="name_col"><a href="/index.php?q=<?php echo $row[1]; ?>&f=name&s=relevance"><?php echo $row[1]; ?></a>
<span class="label badge-success" style="size:12px">
<?php
$pieces = explode("|",$row[25]);
$end = substr($pieces[1],stripos($pieces[1],'）'));
$d = preg_replace('/）/', ' ', $end, 1);
echo $d;
?>
</span>
						</div>


    				</li>

    				<li class="clearfix">
    					<div class="id_col">申请号</div>

        				<div class="name_col"><?php echo $row[2]; ?></div>

        				<div class="duration_col">商标类别</div>

        				<div class="date_col"><?php echo $row[4]; ?></div>
    				</li>

    				<li class="clearfix">
    					<div class="id_col">申请日</div>

        				<div class="name_col"><?php echo $row[3]; ?> </div>

        				<div class="duration_col">商标类型</div>

        				<div class="date_col"><?php echo $row[5]; ?></div>
    				</li>

    				<li class="clearfix">
    					<div class="id_col">商品/服务</div>

        				<div class="name_col2"><?php echo $row[6]; ?></div>


    				</li>

    				<li class="clearfix">
    					<div class="id_col">指定颜色</div>

        				<div class="name_col"><?php echo $row[8]; ?></div>

        				<div class="duration_col">是否共有商标</div>

        				<div class="date_col"><?php echo $row[9]; ?></div>
    				</li>

    				<li class="clearfix">
    					<div class="id_col">国际注册日期</div>

        				<div class="name_col"><?php echo $row[10]; ?></div>

        				<div class="duration_col">后指定日期</div>

        				<div class="date_col"><?php echo $row[11]; ?></div>
    				</li>
				<div class="table-header clearfix">
                	<div class="id_col">申请人信息</div>
                	<div class="name_col"></div>
                    <div class="duration_col"></div>
                    <div class="date_col"></div>
    			</div>
    				<li class="clearfix">
    					<div class="id_col">申请人名称（中文）</div>

        				<div class="name_col"><a href="/index.php?q=<?php echo $row[12]; ?>&f=cnname&s=relevance"><?php echo $row[12]; ?></a></div>

        				<div class="duration_col">申请人地址（中文）</div>

        				<div class="date_col"><?php echo $row[13]; ?></div>
    				</li>
    				 <li class="clearfix">
    					<div class="id_col">申请人名称（英文）</div>

        				<div class="name_col"><?php echo $row[14]; ?> </div>

        				<div class="duration_col">申请人地址（英文）</div>

        				<div class="date_col"><?php echo $row[15]; ?></div>
    				</li>
    				 <li class="clearfix">
    					<div class="id_col">代理公司</div>

        				<div class="name_col"><a href="/index.php?q=<?php echo $row[16]; ?>&f=servicecomany&s=relevance"><?php echo $row[16]; ?></a></div>

    				</li>
				<div class="table-header clearfix">
                	<div class="id_col">商标日期详情</div>
                	<div class="name_col"></div>
                    <div class="duration_col"></div>
                    <div class="date_col"></div>
    			</div>
    				 <li class="clearfix">
    					<div class="id_col">申请日期</div>

        				<div class="name_col"><?php echo $row[17]; ?> </div>

        				<div class="duration_col">初审公告期号</div>

        				<div class="date_col"><?php echo $row[23]; ?></div>
    				</li>
    				 <li class="clearfix">
    					<div class="id_col">注册公告期号</div>

        				<div class="name_col"><?php echo $row[18]; ?></div>

        				<div class="duration_col">初审公告日期</div>

        				<div class="date_col"><?php echo $row[22]; ?></div>
    				</li>
    				 <li class="clearfix">
    					<div class="id_col">注册公告日期</div>

        				<div class="name_col"><?php echo $row[20]; ?> </div>

        				<div class="duration_col">注册满三年</div>

        				<div class="date_col"><?php echo $row[23]; ?> </div>
    				</li>
    				 <li class="clearfix">
    					<div class="id_col">注册日期</div>

        				<div class="name_col"><?php echo $row[21]; ?> </div>

        				<div class="duration_col">截止日期</div>

        				<div class="date_col"><?php echo $row[24]; ?> </div>
    				</li>
				<div class="table-header clearfix">
                	<div class="id_col">商标最新动态</div>
                	<div class="name_col"></div>
                    <div class="duration_col"></div>
                    <div class="date_col"></div>
    			</div>
    				 <li class="clearfix">
    					<div class="id_col">最新动态</div>
						<?php
						$pieces = explode("|",$row[25]);
						?>
        				<div class="name_col2"><?php echo $pieces[1]; ?></div>


					</li>
    				 <li class="clearfix">
    					<div class="id_col"></div>
        				<div class="name_col2">
						<?php echo $pieces[2]; ?>

						</div>


    				</li>
    				 <li class="clearfix">
					 <div class="id_col"></div>
        				<div class="name_col2">
							<?php echo $pieces[3]; ?>
						</div>
    				</li>
					<li class="clearfix">
					 <div class="id_col"></div>
        				<div class="name_col2">
							<?php echo $pieces[4]; ?>
						</div>
    				</li>

    			</ul>
               </div>
		    </div>
		    <div class="clearfix"> </div>
	   </div>
	</div>


    <div class="footer">
    	<div class="container">
    		<div class="col-md-4 grid_4">
    		   <h3>关于知标网</h3>
    		   <p>知标网是由一群热爱知识产权的从业人员众筹发起的一个项目。一个服务于知识产权从业人士的平台。随着互联网及IT技术的不断进步，知标网致力于打造互联网知识产权查询工具，商标，专利大数据分析。以及助力中小中小知识产权代理机构走向互联网化电子化发展。</p>

    		</div>
    		<div class="col-md-4 grid_4">
    		   <h3>帮助链接</h3>
    			<ul class="footer_list">
    				<li><a href="http://open.knowtm.com/">-  知标网开放计划 </a></li>
    				<li><a href="http://www.knowtm.com/">-  知标网图形搜索引擎</a></li>
    				<li><a href="http://demo.knowtm.com/">-  知标网开源电子商务网站</a></li>
    				<li><a href="#">-  知标网数据开放API</a></li>
    				<li><a href="#">-  知标网</a></li>
    			</ul>
			 <ul class="social-nav icons_2 clearfix">
                    <li><a href="#" class="twitter" target="_blank"><i class="fa fa-twitter"></i></a></li>
                    <li><a href="#" class="facebook"> <i class="fa fa-facebook"></i></a></li>
                    <li><a href="#" class="google-plus"><i class="fa fa-money"></i></a></li>
                 </ul>
    		</div>
    		<div class="col-md-4 grid_4">
    		   <h3>联系我们</h3>
    			<address>
                    <strong>地址:</strong>
                    <br>
                    <span>北京市朝阳区东三环百子湾路苹果社区北区2号楼A座1506</span>
                    <br><br>
                    <span></span>
                    <br>
                    <abbr>联系电话 : </abbr> +1 (734) 123-4567
                    <br>
                    <abbr>Email : </abbr> <a href="hello@knowtm.com">hello@knowtm.com</a>
               </address>
    		</div>

    		<div class="clearfix"> </div>
    		<div class="copy">
		       <p>Copyright &copy; 2015. - 知标网商标搜索 - 页面处理总时间：<?php printf('%.4f', $total_cost); ?>秒</p>
		</div>
    	</div>
    </div>
<!-- FlexSlider -->
<link href="css/flexslider.css" rel='stylesheet' type='text/css' />
  <script defer src="js/jquery.flexslider.js"></script>
  <script type="text/javascript">
	$(function(){
	  SyntaxHighlighter.all();
	});
	$(window).load(function(){
	  $('.flexslider').flexslider({
		animation: "slide",
		start: function(slider){
		  $('body').removeClass('loading');
		}
	  });
	});
  </script>
<!-- FlexSlider -->
<?
mysql_free($row);
mysql_close($conn);
?>
</body>
</html>